@import "./base.css";

* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
body {
  line-height: 1;
  /* 如果y轴方向元素溢出，裁剪内容，并且不提供滚动机制 */
  overflow-y: hidden;
}
ol,
ul {
  list-style: none;
}

/* 整个容器 */
.container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  /* margin-left: 50px; */

  /* overflow: hidden; */
}

/* 左侧样式 */
.left {
  /* 70%这地方以后以后要进行优化 */
  width: calc(65%  - 4px);
  /* background-color: skyblue; */
  display: flex;
}
/* 最左侧课程导航栏样式 */
.aside-bar {
  height: 100vh;
  width: 60px;
  background-color: rgb(29, 29, 33);
  /* opacity: 0.9; */
  color: #fff;
}

.aside-menus {
  margin-top: 40px;
  border-top: 1px solid #1a1919;
  border-bottom: 1px solid #1a1919;
  display: flex;
  flex-direction: column;
}
.aside-menus .divider {
  margin: 0 auto;
  width: 20px;
  height: 1px;
  background-color: #4e4c4c;
  opacity: 0.8;
}

.aside-menus li {
  padding-left: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
  font: 14px/1.5 "PingFang SC", "微软雅黑", "Microsoft YaHei", Helvetica,
    "Helvetica Neue", Tahoma, Arial, sans-serif;
  color: rgba(255, 255, 255, 0.8);
}

.aside-menus > li > span {
  display: block;
}

.aside-menus li:hover {
  background-color: skyblue;
}

.aside-menus .chapter-box-text {
  background-color: red;
  display: inline-block;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  line-height: 22px;
  font-size: 14px;
  color: #fff;
  font-weight: 700;
}

/* 可拖动条样式 */
.resize {
  background-color: #F8FAFC;
  width: 4px;
  height: 100vh;
  cursor: ew-resize;
}

.resize:hover {
  background-color: blue;
}

/* 右侧 */
.right {
  
  width: 35%;
  height: 100vh;
  background-color: #F8FAFC;
}
